package org.geektimes.projects.userweb.dao.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: jipeng
 * @Description:
 * @Date: Created in 2021/5/7 7:46
 */
public class AppUser implements Serializable {
    private static final long serialVersionUID = -1L;

    private Long id;
    private String nickname;
    private Integer age;
    private Date createTime;
    private Date updateTime;
    private Integer deleteFlag;

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }




    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }


    @Override
    public String toString() {
        return "{" +
                "\"id\":" + id +
                "; \"nickname\":" + nickname +
                "; \"age\":" + age +
                "; \"createTime\":" + createTime +
                "; \"updateTime\":" + updateTime +
                "; \"deleteFlag\":" + deleteFlag +
                "}";
    }

}
